package com.onetime.mall.trading.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.onetime.mall.trading.entity.UserEntity;
import com.onetime.mall.trading.utils.PageUtils;

import java.util.Map;

/**
 * 用户表
 *
 * @author liyixuan
 * @email liyixuan106@163.com
 * @date 2022-03-26 19:38:29
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    UserEntity userLogin(String accountNumber, String userPassword);

    boolean userSignIn(UserEntity user);

    boolean updatePassword(String newPassword, String oldPassword, Long id);

    boolean updateUserInfo(UserEntity userEntity);

    PageUtils getUserByStatusByPage(Map<String, Object> params);
}


